import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router.js'
import pinia from '@/stores/index'
// 引入初始化样式文件
import '@/styles/common.scss'
// 引入懒加载指令插件并且注册
import {lazyPlugin} from "@/directives/index.js"

const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(lazyPlugin)
app.mount('#app')
